﻿using Newtonsoft.Json;
using System;

namespace Pay.DTO {
    /// <summary>
    /// 令牌信息
    /// </summary>
    [Serializable]
    public class marketing_token_info_dto {
        /// <summary>
		///商户id
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 令牌
        /// </summary>
        public string access_token { get; set; }
        /// <summary>
        /// 过期具体时间
        /// </summary>
        public DateTime expires_date { get; set; }
        /// <summary>
        /// 过期时间，以秒为单位
        /// </summary>
        [JsonIgnore]
        public int expires_in { get; set; }

        public string refresh_token { get; set; }
    }
}
